$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$f: 19.2;

.home {
  position: relative;
  width: 100%;
  overflow: hidden;
  .section1 {
    margin: 11vw 6vw 3vw 6vw;
    display: flex;
    align-items: center;

    .dot {
      display: flex;
      align-items: center;
      margin: 0 7vw;

      span {
        width: 6/$f+vw;
        height: 6/$f+vw;
        border-radius: 50%;
        background-color: #000;
      }

      p {
        color: #000;
        font-size: $fontSize_16;
        margin-left: .6vw;
      }
    }

    .types {
      display: flex;

      a {
        display: flex;
        align-items: flex-end;
        color: #999A9A;
        font-size: $fontSize_48;
        font-family: 'SourceHanSansCN-Medium';
        margin-right: 3vw;
        transition: all 600ms;

        span {
          font-size: $fontSize_16;
          font-family: 'SourceHanSansCN-Normal';
          margin-left: 0.5vw;
        }

        &:hover {
          color: #1B2170;
        }
      }

      .active {
        color: #1B2170;
      }
    }
  }

  .section2{
    width: 100%;
    position: relative;
    .img{
      width: 100%;
    }
    .wrap{
      position: absolute;
      left: 160/$f+vw;
      bottom: 88/$f+vw;
      h1{
        font-size: 56/$f+vw;
        color: #fff;
        font-weight: 700;
        margin: 0 0 32/$f+vw;
      }
      p{
        width: 814/$f+vw;
        font-size: 18/$f+vw;
        color: #fff;
      }
    }
  }

  .section3{
    padding: 120/$f+vw 0;
    background: #F6F6F6;
    .wrap{
      width: 1495/$f+vw;
      margin: auto;
      .title{
        font-size: 24/$f+vw;
        color: #000;
        font-weight: 500;
        margin: 0 0 39/$f+vw;
      }
      .content{
        width: 100%;
        img{
          width: 100%;
        }
      }
    }
  }

  .section4{
    padding: 110/$f+vw 0 36/$f+vw 0;
    overflow: hidden;
    *{
      box-sizing: border-box;
    }
    .wrap{
      position: relative;
      left: 160/$f+vw;
      display: flex;
      .l{
        width: 797/$f+vw;
        .title{
          font-size: 48/$f+vw;
          color: #020626;
          margin: 0 0 36/$f+vw;
        }
        .content{
          .autoSwiper{
            height: 704/$f+vw;
            &:after{
              content: '';
              position: absolute;
              width: 100%;
              height: 100%;
              top: 70/$f+vw;
              left: 0;
              background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 25.77%, #FFF 81.01%);
              z-index: 2;
            }
            .swiper-slide{
              padding: 0 26/$f+vw 32/$f+vw 26/$f+vw;
              height: fit-content;
              &:after{
                content: '';
                position: absolute;
                width: 99%;
                height: calc(100% - 1.5625vw);
                left: 0;
                bottom: 0;
                border-radius: 4px;
                border: 1px solid #2C368D;
                z-index: -1;
              }
              .headline{
                display: flex;
                .border{
                  width: 96/$f+vw;
                  height: 96/$f+vw;
                  border-radius: 4/$f+vw;
                  background: #FFF;
                  box-shadow: 0px 6px 10px 0px rgba(27, 33, 112, 0.24);
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  margin: 0 17/$f+vw 0 0;
                  img{
                    width: 54/$f+vw;
                  }
                }
                h1{
                  color: #1B2170;
                  font-size: 24/$f+vw;
                  font-weight: 500;
                  margin: 43/$f+vw 0 0 0;
                }
              }
              .text{
                color: #000;
                font-size: 16/$f+vw;
                font-weight: 400;
                line-height: 26/$f+vw; /* 162.5% */
                margin: 30/$f+vw 0 0 0;
              }
            }
          }
        }
      }
      .r{
        width: 807/$f+vw;
        height: 682/$f+vw;
        margin: 70/$f+vw 0 0 145/$f+vw;
        img{
          width: 100%;
          height: 100%;
        }
      }
    }
  }

  .section5{
    position: relative;
    // overflow: hidden;
    .title{
      position: absolute;
      left: 160/$f+vw;
      top: 403/$f+vw;
      font-size: 48/$f+vw;
      color: #000;
      font-weight: 700;
    }
    .wrap{
      width: 100%;
      .move{
        width: 100%;
      }
      .item{
        width: 520/$f+vw;
        height: 520/$f+vw;
        position: absolute;
        top: 236/$f+vw;
        left: 676/$f+vw;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
        h1{
          font-size: 48/$f+vw;
          color: #fff;
          font-weight: 500;
          position: relative;
          z-index: 23;
        }
        .img_bg{
          position: absolute;
          width: 100%;
          height: 100%;
          top: 0;
          left: 0;
          border-radius: 50%;
          z-index: 3;
        }
        .scale{
          border: 1px dashed #0C163F;
          border-radius: 50%;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%,-50%) scale(0);
          transition: 1s ease;
          z-index: 1;
          &.scale1{
            width: 400/$f+vw;
            height: 400/$f+vw;
            z-index: 2;
            border: 2px dashed #0C163F;
          }
          &.scale2{
            width: 600/$f+vw;
            height: 600/$f+vw;
            transition-delay: .6s;
          }
        }
        &.item1{
          .scale{
            &.scale1{
              width: 602/$f+vw;
              height: 602/$f+vw;
              z-index: 2;
              border: 2px dashed #0C163F;
            }
            &.scale2{
              width: 806/$f+vw;
              height: 806/$f+vw;
              transition-delay: .6s;
            }
          }
        }
        &.item2{
          width: 312/$f+vw;
          height: 312/$f+vw;
          top: 737/$f+vw;
          left: 1170/$f+vw;
        }
        &.item3{
          width: 312/$f+vw;
          height: 312/$f+vw;
          top: 0;
          left: unset;
          right: 163/$f+vw;
        }
        &:hover{
          .scale{
            transform: translate(-50%,-50%) scale(1);
          }
        }
      }

    }
  }

  .section6{
    padding: 111/$f+vw 0 279/$f+vw 0;
    background: #FAFBFF;
    *{
      box-sizing: border-box;
    }
    .wrap{
      width: 1600/$f+vw;
      margin: auto;
      .title{
        display: flex;
        align-items: center;
        justify-content: space-between;
        h1{
          font-size: 48/$f+vw;
          color: #000;
          font-weight: 700;
        }
        .r{
          display: flex;
          div{
            &:first-child{
              margin: 39/$f+vw 8/$f+vw 0 0;
              width: 14/$f+vw;
              height: 14/$f+vw;
              background: #1B2170;
              border-radius: 50%;
            }
            &:nth-child(2) {
              width: 50/$f+vw;
              height: 50/$f+vw;
              opacity: 0.3;
              background: #1B2170;
              border-radius: 50%;
            }
          }
        }
      }
      .content{
        margin: 84/$f+vw 0 0 0;
        display: flex;
        .item{
          width: 304/$f+vw;
          height: auto;
          &:not(:last-child) {
            margin: 0 20/$f+vw 0 0;
          }
          .img{
            width: 304/$f+vw;
            height: 304/$f+vw;
            overflow: hidden;
            border-top-left-radius: 6/$f+vw;
            border-top-right-radius: 6/$f+vw;
            img{
              width: 100%;
              height: 100%;
              transition: .6s;
            }
          }
          .text{
            border-radius: 0px 0px 6/$f+vw 6/$f+vw;
            border: 1px solid #CCCEE2;
            background: #FFF;
            padding: 38/$f+vw 28/$f+vw;
            height: 309/$f+vw;
            h1{
              font-size: 20/$f+vw;
              color: #2C368D;
              font-weight: 500;
              margin: 0 0 20/$f+vw;
            }
            p{
              color: #666;
              font-size: 16/$f+vw;
              line-height: 26/$f+vw;
            }
          }
          &:hover{
            .img{
              img{
                transform: scale(1.05);
              }
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .section1{
      margin: 40px 5% 30px 5%;
      flex-direction: column;
      align-items: flex-start;
      .dot{
        margin: 0;
        span{
          width: 6px;
          height: 6px;
        }
        p{
          font-size: 18px;
          margin-left: 5px;
        }
      }
      .types{
        flex-wrap: wrap;
        a{
          font-size: 26px;
          width: 50%;
          margin: 10px 0 0 0;
        }
      }
    }

    .section2{
      .wrap{
        bottom: 10%;
        left: 5%;
        padding: 0 5% 0 0;
        h1{
          font-size: 24px;
          margin: 0 0 10px;
        }
        p{
          font-size: 14px;
          line-height: 30px;
          width: 100%;
        }
      }
      .img{
        height: 500px;
        object-fit: cover;
      }

    }

    .section3{
      padding: 35px 0;
      .wrap{
        width: 90%;
        .title{
          font-size: 16px;
          line-height: 1.5;
          margin: 0 0 30px;
        }
      }
    }

    .section4{
      padding: 35px 0;
      .wrap{
        left: 0;
        padding: 0 5%;
        flex-direction: column;
        .l{
          width: 100%;
          .title{
            font-size: 24px;
            margin: 0 0 15px;
          }
          .content{
            .autoSwiper{
              height: 500px;
              .swiper-slide{
                padding: 5%;
                &:after{
                  height: 90%;
                }
                .headline{
                  .border{
                    width: 73px;
                    height: 73px;
                    margin: 0 15px 0 0;
                    img{
                      width: 40px;
                    }
                  }
                  h1{
                    font-size: 18px;
                    margin: 25px 0 0 0;
                  }
                }
                .text{
                  font-size: 14px;
                  line-height: 2;
                }
              }
            }
          }
        }
        .r{
          margin: 20px 0 0 0;
          height: auto;
          width: 100%;
        }
      }
    }

    .section5{
      padding: 50px 0;
      .title{
        left: 5%;
        font-size: 24px;
        top: 0;
      }
    }

    .section6{
      padding: 35px 0;
      .wrap{
        width: 90%;
        .title{
          h1{
            font-size: 24px;
          }
          .r{
            div{
              &:first-child{
                width: 10px;
                height: 10px;
                margin: 25px 6px 0 0;
              }
              &:nth-child(2) {
                width: 38px;
                height: 38px;
              }
            }
          }
        }
        .content{
          flex-direction: column;
          .item{
            width: 100%;
            &:not(:last-child) {
              margin: 0 0 20px;
            }
            .img{
              width: 100%;
              height: auto;
            }
            .text{
              padding: 5%;
              height: auto;
              h1{
                font-size: 22px;
                margin: 0 0 10px;
              }
              p{
                font-size: 14px;
                line-height: 2;
              }
            }
          }
        }
      }
    }
  }
}